from sqlalchemy import Column, BigInteger, String, DateTime

from utils.work_db import Base


class WeixinSubscribe(Base):
    __tablename__ = 'weixin_subscribe'
    message_id = Column(BigInteger, autoincrement=True, primary_key=True)
    source = Column(String)
    target = Column(String)
    create_time = Column(DateTime)
    message_type = Column(String)
    event = Column(String)
    scene_str = Column(String)
    ticket = Column(String)
